package com.fwmagic.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: fangwei
 * @date: 2022/4/6
 **/
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务调用失败，提示来自：cloud-consumer-feign-hystrix-order# PaymentFallbackService # paymentInfo_OK";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务调用失败，提示来自：cloud-consumer-feign-hystrix-order# PaymentFallbackService # paymentInfo_TimeOut";
    }
}
